import QtQuick
import QtQuick.Controls

ApplicationWindow {
    width: screenWidth
    minimumWidth: screenWidth
    maximumWidth: screenWidth
    height: screenHeight
    minimumHeight: screenHeight
    maximumHeight: screenHeight
    visible: true
    title: qsTr("双轴数控锯")

    //  显示到副屏
    x: Qt.application.screens[1].virtualX
    y: Qt.application.screens[1].virtualY

    property real screenWidth: Screen.width
    property real screenHeight: Screen.height

    Item{           // 背景
        id:backGround
        anchors.fill: parent

        Rectangle{
            anchors.fill: parent
            color: 	"#FFFAFA"
        }
    }

    ManualProcess_Window{       // 手动加工页面
        id:mauanlProcessWindow
        anchors.bottom: backGround.bottom
        anchors.bottomMargin: 150
        visible: false
    }

    ExtraLongProcess_Window{        // 超长加工界面
        id:extraLongProcessWindow
        anchors.bottom: backGround.bottom
        anchors.bottomMargin: 150
        visible: false
    }

    ExtraShortProcess_Window{       // 超短加工界面
        id:extraShortProcessWindow
        anchors.bottom: backGround.bottom
        anchors.bottomMargin: 150
        visible: false
    }

    OrderProcess_Window{            // 排料加工界面
        id:orderProcessWindow
        anchors.bottom: backGround.bottom
        anchors.bottomMargin: 150
        visible: true
    }

    CornerProcess_Window{           // 角码加工界面
        id: cornerProcessWindow
        anchors.bottom: backGround.bottom
        anchors.bottomMargin: 150
        visible: false
    }

    Debug_Window{               // 调试界面
        id:debugWindow
        anchors.bottom: backGround.bottom
        anchors.bottomMargin: 150
        visible: false
    }

    Parameter_Window{           // 参数界面
        id:parameterWindow
        anchors.bottom: backGround.bottom
        anchors.bottomMargin: 150
        visible: false
    }

    TopAreaBar{     // 顶部指示
        anchors.top: backGround.top
        anchors.horizontalCenter: backGround.horizontalCenter
    }

    BottomBar{          // 底部导航栏
        anchors.bottom: backGround.bottom
        anchors.horizontalCenter: backGround.horizontalCenter
    }





}
